CREATE TABLE [dbo].[Appointment](
	[WebTidItemId] [nvarchar](100) NOT NULL,
	[ExchangeId] [nvarchar](200) NULL,
	[StartDateTime] [datetime] NOT NULL,
	[EndDateTime] [datetime] NOT NULL,
	[Location] [nvarchar](250) NULL,
	[Subject] [nvarchar](250) NULL,
	[Body] [nvarchar](max) NULL,
	[FlowState] [int] NOT NULL,
	[IsActive] [int] NOT NULL,
 CONSTRAINT [PK_Appointment] PRIMARY KEY CLUSTERED 
(
	[WebTidItemId] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]